﻿import 'package:star_author/generated/json/base/json_convert_content.dart';
import 'package:star_author/model/user_info_entity.dart';

UserInfoEntity $UserInfoEntityFromJson(Map<String, dynamic> json) {
	final UserInfoEntity userInfoEntity = UserInfoEntity();
	final int? id = jsonConvert.convert<int>(json['id']);
	if (id != null) {
		userInfoEntity.id = id;
	}
	final String? nickname = jsonConvert.convert<String>(json['nickname']);
	if (nickname != null) {
		userInfoEntity.nickname = nickname;
	}
	final String? gender = jsonConvert.convert<String>(json['gender']);
	if (gender != null) {
		userInfoEntity.gender = gender;
	}
	final String? intro = jsonConvert.convert<String>(json['intro']);
	if (intro != null) {
		userInfoEntity.intro = intro;
	}
	final String? mobile = jsonConvert.convert<String>(json['mobile']);
	if (mobile != null) {
		userInfoEntity.mobile = mobile;
	}
	final String? openid = jsonConvert.convert<String>(json['openid']);
	if (openid != null) {
		userInfoEntity.openid = openid;
	}
	final int? unhandledTreasuresCount = jsonConvert.convert<int>(json['unhandled_treasures_count']);
	if (unhandledTreasuresCount != null) {
		userInfoEntity.unhandledTreasuresCount = unhandledTreasuresCount;
	}
	final dynamic? wechatBalance = jsonConvert.convert<dynamic>(json['wechat_balance']);
	if (wechatBalance != null) {
		userInfoEntity.wechatBalance = wechatBalance;
	}
	final bool? isSpecialist = jsonConvert.convert<bool>(json['is_specialist']);
	if (isSpecialist != null) {
		userInfoEntity.isSpecialist = isSpecialist;
	}
	final int? metaInfoId = jsonConvert.convert<int>(json['meta_info_id']);
	if (metaInfoId != null) {
		userInfoEntity.metaInfoId = metaInfoId;
	}
	final String? unionid = jsonConvert.convert<String>(json['unionid']);
	if (unionid != null) {
		userInfoEntity.unionid = unionid;
	}
	final String? guarantee = jsonConvert.convert<String>(json['guarantee']);
	if (guarantee != null) {
		userInfoEntity.guarantee = guarantee;
	}
	final String? availableGuarantee = jsonConvert.convert<String>(json['available_guarantee']);
	if (availableGuarantee != null) {
		userInfoEntity.availableGuarantee = availableGuarantee;
	}
	final int? frozenGuarantee = jsonConvert.convert<int>(json['frozen_guarantee']);
	if (frozenGuarantee != null) {
		userInfoEntity.frozenGuarantee = frozenGuarantee;
	}
	final String? refundableGuarantee = jsonConvert.convert<String>(json['refundable_guarantee']);
	if (refundableGuarantee != null) {
		userInfoEntity.refundableGuarantee = refundableGuarantee;
	}
	final String? balance = jsonConvert.convert<String>(json['balance']);
	if (balance != null) {
		userInfoEntity.balance = balance;
	}
	final bool? realNameAuthentication = jsonConvert.convert<bool>(json['real_name_authentication']);
	if (realNameAuthentication != null) {
		userInfoEntity.realNameAuthentication = realNameAuthentication;
	}
	final String? totalUsableAmount = jsonConvert.convert<String>(json['total_usable_amount']);
	if (totalUsableAmount != null) {
		userInfoEntity.totalUsableAmount = totalUsableAmount;
	}
	final int? tenderByGuaranteeTimes = jsonConvert.convert<int>(json['tender_by_guarantee_times']);
	if (tenderByGuaranteeTimes != null) {
		userInfoEntity.tenderByGuaranteeTimes = tenderByGuaranteeTimes;
	}
	final String? totalWinningOrderPrice = jsonConvert.convert<String>(json['total_winning_order_price']);
	if (totalWinningOrderPrice != null) {
		userInfoEntity.totalWinningOrderPrice = totalWinningOrderPrice;
	}
	final int? level = jsonConvert.convert<int>(json['level']);
	if (level != null) {
		userInfoEntity.level = level;
	}
	final String? appOpenid = jsonConvert.convert<String>(json['app_openid']);
	if (appOpenid != null) {
		userInfoEntity.appOpenid = appOpenid;
	}
	final String? createdAt = jsonConvert.convert<String>(json['created_at']);
	if (createdAt != null) {
		userInfoEntity.createdAt = createdAt;
	}
	final String? adapaySettleAccountId = jsonConvert.convert<String>(json['adapay_settle_account_id']);
	if (adapaySettleAccountId != null) {
		userInfoEntity.adapaySettleAccountId = adapaySettleAccountId;
	}
	final int? adapayMemberId = jsonConvert.convert<int>(json['adapay_member_id']);
	if (adapayMemberId != null) {
		userInfoEntity.adapayMemberId = adapayMemberId;
	}
	final UserInfoSummary? summary = jsonConvert.convert<UserInfoSummary>(json['summary']);
	if (summary != null) {
		userInfoEntity.summary = summary;
	}
	final bool? isVip = jsonConvert.convert<bool>(json['is_vip']);
	if (isVip != null) {
		userInfoEntity.isVip = isVip;
	}
	final String? alipayAccount = jsonConvert.convert<String>(json['alipay_account']);
	if (alipayAccount != null) {
		userInfoEntity.alipayAccount = alipayAccount;
	}
	final String? alipayRealname = jsonConvert.convert<String>(json['alipay_realname']);
	if (alipayRealname != null) {
		userInfoEntity.alipayRealname = alipayRealname;
	}
	final String? currentMonthPerformance = jsonConvert.convert<String>(json['current_month_performance']);
	if (currentMonthPerformance != null) {
		userInfoEntity.currentMonthPerformance = currentMonthPerformance;
	}
	final bool? isBidder = jsonConvert.convert<bool>(json['is_bidder']);
	if (isBidder != null) {
		userInfoEntity.isBidder = isBidder;
	}
	final bool? canCombineShip = jsonConvert.convert<bool>(json['can_combine_ship']);
	if (canCombineShip != null) {
		userInfoEntity.canCombineShip = canCombineShip;
	}
	final bool? firstTime = jsonConvert.convert<bool>(json['first_time']);
	if (firstTime != null) {
		userInfoEntity.firstTime = firstTime;
	}
	final String? avatar = jsonConvert.convert<String>(json['avatar']);
	if (avatar != null) {
		userInfoEntity.avatar = avatar;
	}
	final List<UserInfoMaintainStudios>? maintainStudios = jsonConvert.convertListNotNull<UserInfoMaintainStudios>(json['maintain_studios']);
	if (maintainStudios != null) {
		userInfoEntity.maintainStudios = maintainStudios;
	}
	final UserInfoApply? apply = jsonConvert.convert<UserInfoApply>(json['apply']);
	if (apply != null) {
		userInfoEntity.apply = apply;
	}
	final dynamic? bidder = jsonConvert.convert<dynamic>(json['bidder']);
	if (bidder != null) {
		userInfoEntity.bidder = bidder;
	}
	final UserInfoIdentification? identification = jsonConvert.convert<UserInfoIdentification>(json['identification']);
	if (identification != null) {
		userInfoEntity.identification = identification;
	}
	return userInfoEntity;
}

Map<String, dynamic> $UserInfoEntityToJson(UserInfoEntity entity) {
	final Map<String, dynamic> data = <String, dynamic>{};
	data['id'] = entity.id;
	data['nickname'] = entity.nickname;
	data['gender'] = entity.gender;
	data['intro'] = entity.intro;
	data['mobile'] = entity.mobile;
	data['openid'] = entity.openid;
	data['unhandled_treasures_count'] = entity.unhandledTreasuresCount;
	data['wechat_balance'] = entity.wechatBalance;
	data['is_specialist'] = entity.isSpecialist;
	data['meta_info_id'] = entity.metaInfoId;
	data['unionid'] = entity.unionid;
	data['guarantee'] = entity.guarantee;
	data['available_guarantee'] = entity.availableGuarantee;
	data['frozen_guarantee'] = entity.frozenGuarantee;
	data['refundable_guarantee'] = entity.refundableGuarantee;
	data['balance'] = entity.balance;
	data['real_name_authentication'] = entity.realNameAuthentication;
	data['total_usable_amount'] = entity.totalUsableAmount;
	data['tender_by_guarantee_times'] = entity.tenderByGuaranteeTimes;
	data['total_winning_order_price'] = entity.totalWinningOrderPrice;
	data['level'] = entity.level;
	data['app_openid'] = entity.appOpenid;
	data['created_at'] = entity.createdAt;
	data['adapay_settle_account_id'] = entity.adapaySettleAccountId;
	data['adapay_member_id'] = entity.adapayMemberId;
	data['summary'] = entity.summary?.toJson();
	data['is_vip'] = entity.isVip;
	data['alipay_account'] = entity.alipayAccount;
	data['alipay_realname'] = entity.alipayRealname;
	data['current_month_performance'] = entity.currentMonthPerformance;
	data['is_bidder'] = entity.isBidder;
	data['can_combine_ship'] = entity.canCombineShip;
	data['first_time'] = entity.firstTime;
	data['avatar'] = entity.avatar;
	data['maintain_studios'] =  entity.maintainStudios?.map((v) => v.toJson()).toList();
	data['apply'] = entity.apply?.toJson();
	data['bidder'] = entity.bidder;
	data['identification'] = entity.identification?.toJson();
	return data;
}

UserInfoSummary $UserInfoSummaryFromJson(Map<String, dynamic> json) {
	final UserInfoSummary userInfoSummary = UserInfoSummary();
	final int? initialBackflowsCount = jsonConvert.convert<int>(json['initial_backflows_count']);
	if (initialBackflowsCount != null) {
		userInfoSummary.initialBackflowsCount = initialBackflowsCount;
	}
	final int? backBackflowsCount = jsonConvert.convert<int>(json['back_backflows_count']);
	if (backBackflowsCount != null) {
		userInfoSummary.backBackflowsCount = backBackflowsCount;
	}
	final int? finishedBackflowsCount = jsonConvert.convert<int>(json['finished_backflows_count']);
	if (finishedBackflowsCount != null) {
		userInfoSummary.finishedBackflowsCount = finishedBackflowsCount;
	}
	final int? evaluationBackflowsCount = jsonConvert.convert<int>(json['evaluation_backflows_count']);
	if (evaluationBackflowsCount != null) {
		userInfoSummary.evaluationBackflowsCount = evaluationBackflowsCount;
	}
	final int? sentBackflowsCount = jsonConvert.convert<int>(json['sent_backflows_count']);
	if (sentBackflowsCount != null) {
		userInfoSummary.sentBackflowsCount = sentBackflowsCount;
	}
	final int? onsaleBackflowsCount = jsonConvert.convert<int>(json['onsale_backflows_count']);
	if (onsaleBackflowsCount != null) {
		userInfoSummary.onsaleBackflowsCount = onsaleBackflowsCount;
	}
	final int? waitconfirmBackflowsCount = jsonConvert.convert<int>(json['waitconfirm_backflows_count']);
	if (waitconfirmBackflowsCount != null) {
		userInfoSummary.waitconfirmBackflowsCount = waitconfirmBackflowsCount;
	}
	final int? backBackflowsNeedRecycleCount = jsonConvert.convert<int>(json['back_backflows_need_recycle_count']);
	if (backBackflowsNeedRecycleCount != null) {
		userInfoSummary.backBackflowsNeedRecycleCount = backBackflowsNeedRecycleCount;
	}
	final int? initialOrdersCount = jsonConvert.convert<int>(json['initial_orders_count']);
	if (initialOrdersCount != null) {
		userInfoSummary.initialOrdersCount = initialOrdersCount;
	}
	final int? paidOrdersCount = jsonConvert.convert<int>(json['paid_orders_count']);
	if (paidOrdersCount != null) {
		userInfoSummary.paidOrdersCount = paidOrdersCount;
	}
	final int? shippingOrdersCount = jsonConvert.convert<int>(json['shipping_orders_count']);
	if (shippingOrdersCount != null) {
		userInfoSummary.shippingOrdersCount = shippingOrdersCount;
	}
	final int? fromBidderNeedPaidWinningOrdersCount = jsonConvert.convert<int>(json['from_bidder_need_paid_winning_orders_count']);
	if (fromBidderNeedPaidWinningOrdersCount != null) {
		userInfoSummary.fromBidderNeedPaidWinningOrdersCount = fromBidderNeedPaidWinningOrdersCount;
	}
	final int? fromBidderNeedHandleWinningOrdersCount = jsonConvert.convert<int>(json['from_bidder_need_handle_winning_orders_count']);
	if (fromBidderNeedHandleWinningOrdersCount != null) {
		userInfoSummary.fromBidderNeedHandleWinningOrdersCount = fromBidderNeedHandleWinningOrdersCount;
	}
	final int? fromBidderOfflineSalingWinningOrdersCount = jsonConvert.convert<int>(json['from_bidder_offline_saling_winning_orders_count']);
	if (fromBidderOfflineSalingWinningOrdersCount != null) {
		userInfoSummary.fromBidderOfflineSalingWinningOrdersCount = fromBidderOfflineSalingWinningOrdersCount;
	}
	final int? fromBidderHandledBackingWinningOrdersCount = jsonConvert.convert<int>(json['from_bidder_handled_backing_winning_orders_count']);
	if (fromBidderHandledBackingWinningOrdersCount != null) {
		userInfoSummary.fromBidderHandledBackingWinningOrdersCount = fromBidderHandledBackingWinningOrdersCount;
	}
	final int? unhandledAfterSaleCount = jsonConvert.convert<int>(json['unhandled_after_sale_count']);
	if (unhandledAfterSaleCount != null) {
		userInfoSummary.unhandledAfterSaleCount = unhandledAfterSaleCount;
	}
	final int? unreadFinishedBackflowsCount = jsonConvert.convert<int>(json['unread_finished_backflows_count']);
	if (unreadFinishedBackflowsCount != null) {
		userInfoSummary.unreadFinishedBackflowsCount = unreadFinishedBackflowsCount;
	}
	final int? unreadUnapprovedTendersCount = jsonConvert.convert<int>(json['unread_unapproved_tenders_count']);
	if (unreadUnapprovedTendersCount != null) {
		userInfoSummary.unreadUnapprovedTendersCount = unreadUnapprovedTendersCount;
	}
	final int? unreadApprovedTendersCount = jsonConvert.convert<int>(json['unread_approved_tenders_count']);
	if (unreadApprovedTendersCount != null) {
		userInfoSummary.unreadApprovedTendersCount = unreadApprovedTendersCount;
	}
	final int? unreadChangeTreasuresCount = jsonConvert.convert<int>(json['unread_change_treasures_count']);
	if (unreadChangeTreasuresCount != null) {
		userInfoSummary.unreadChangeTreasuresCount = unreadChangeTreasuresCount;
	}
	final int? unreadNotificationsCount = jsonConvert.convert<int>(json['unread_notifications_count']);
	if (unreadNotificationsCount != null) {
		userInfoSummary.unreadNotificationsCount = unreadNotificationsCount;
	}
	final int? unpaidFromBidderOrders = jsonConvert.convert<int>(json['unpaid_from_bidder_orders']);
	if (unpaidFromBidderOrders != null) {
		userInfoSummary.unpaidFromBidderOrders = unpaidFromBidderOrders;
	}
	final int? validApprovedAndPaidAndBackflowUnhandledTendersCount = jsonConvert.convert<int>(json['valid_approved_and_paid_and_backflow_unhandled_tenders_count']);
	if (validApprovedAndPaidAndBackflowUnhandledTendersCount != null) {
		userInfoSummary.validApprovedAndPaidAndBackflowUnhandledTendersCount = validApprovedAndPaidAndBackflowUnhandledTendersCount;
	}
	final int? validApprovedAndNeedPaidTendersCount = jsonConvert.convert<int>(json['valid_approved_and_need_paid_tenders_count']);
	if (validApprovedAndNeedPaidTendersCount != null) {
		userInfoSummary.validApprovedAndNeedPaidTendersCount = validApprovedAndNeedPaidTendersCount;
	}
	final int? pendingTendersCount = jsonConvert.convert<int>(json['pending_tenders_count']);
	if (pendingTendersCount != null) {
		userInfoSummary.pendingTendersCount = pendingTendersCount;
	}
	final int? staredBackflowsCount = jsonConvert.convert<int>(json['stared_backflows_count']);
	if (staredBackflowsCount != null) {
		userInfoSummary.staredBackflowsCount = staredBackflowsCount;
	}
	final int? tracksCount = jsonConvert.convert<int>(json['tracks_count']);
	if (tracksCount != null) {
		userInfoSummary.tracksCount = tracksCount;
	}
	return userInfoSummary;
}

Map<String, dynamic> $UserInfoSummaryToJson(UserInfoSummary entity) {
	final Map<String, dynamic> data = <String, dynamic>{};
	data['initial_backflows_count'] = entity.initialBackflowsCount;
	data['back_backflows_count'] = entity.backBackflowsCount;
	data['finished_backflows_count'] = entity.finishedBackflowsCount;
	data['evaluation_backflows_count'] = entity.evaluationBackflowsCount;
	data['sent_backflows_count'] = entity.sentBackflowsCount;
	data['onsale_backflows_count'] = entity.onsaleBackflowsCount;
	data['waitconfirm_backflows_count'] = entity.waitconfirmBackflowsCount;
	data['back_backflows_need_recycle_count'] = entity.backBackflowsNeedRecycleCount;
	data['initial_orders_count'] = entity.initialOrdersCount;
	data['paid_orders_count'] = entity.paidOrdersCount;
	data['shipping_orders_count'] = entity.shippingOrdersCount;
	data['from_bidder_need_paid_winning_orders_count'] = entity.fromBidderNeedPaidWinningOrdersCount;
	data['from_bidder_need_handle_winning_orders_count'] = entity.fromBidderNeedHandleWinningOrdersCount;
	data['from_bidder_offline_saling_winning_orders_count'] = entity.fromBidderOfflineSalingWinningOrdersCount;
	data['from_bidder_handled_backing_winning_orders_count'] = entity.fromBidderHandledBackingWinningOrdersCount;
	data['unhandled_after_sale_count'] = entity.unhandledAfterSaleCount;
	data['unread_finished_backflows_count'] = entity.unreadFinishedBackflowsCount;
	data['unread_unapproved_tenders_count'] = entity.unreadUnapprovedTendersCount;
	data['unread_approved_tenders_count'] = entity.unreadApprovedTendersCount;
	data['unread_change_treasures_count'] = entity.unreadChangeTreasuresCount;
	data['unread_notifications_count'] = entity.unreadNotificationsCount;
	data['unpaid_from_bidder_orders'] = entity.unpaidFromBidderOrders;
	data['valid_approved_and_paid_and_backflow_unhandled_tenders_count'] = entity.validApprovedAndPaidAndBackflowUnhandledTendersCount;
	data['valid_approved_and_need_paid_tenders_count'] = entity.validApprovedAndNeedPaidTendersCount;
	data['pending_tenders_count'] = entity.pendingTendersCount;
	data['stared_backflows_count'] = entity.staredBackflowsCount;
	data['tracks_count'] = entity.tracksCount;
	return data;
}

UserInfoMaintainStudios $UserInfoMaintainStudiosFromJson(Map<String, dynamic> json) {
	final UserInfoMaintainStudios userInfoMaintainStudios = UserInfoMaintainStudios();
	final int? id = jsonConvert.convert<int>(json['id']);
	if (id != null) {
		userInfoMaintainStudios.id = id;
	}
	final String? name = jsonConvert.convert<String>(json['name']);
	if (name != null) {
		userInfoMaintainStudios.name = name;
	}
	final String? key = jsonConvert.convert<String>(json['key']);
	if (key != null) {
		userInfoMaintainStudios.key = key;
	}
	final String? beginAt = jsonConvert.convert<String>(json['begin_at']);
	if (beginAt != null) {
		userInfoMaintainStudios.beginAt = beginAt;
	}
	final int? usersCount = jsonConvert.convert<int>(json['users_count']);
	if (usersCount != null) {
		userInfoMaintainStudios.usersCount = usersCount;
	}
	final bool? xSwitch = jsonConvert.convert<bool>(json['switch']);
	if (xSwitch != null) {
		userInfoMaintainStudios.xSwitch = xSwitch;
	}
	final int? viewUsersCount = jsonConvert.convert<int>(json['view_users_count']);
	if (viewUsersCount != null) {
		userInfoMaintainStudios.viewUsersCount = viewUsersCount;
	}
	final dynamic? anchoring = jsonConvert.convert<dynamic>(json['anchoring']);
	if (anchoring != null) {
		userInfoMaintainStudios.anchoring = anchoring;
	}
	final String? cover = jsonConvert.convert<String>(json['cover']);
	if (cover != null) {
		userInfoMaintainStudios.cover = cover;
	}
	final String? avatar = jsonConvert.convert<String>(json['avatar']);
	if (avatar != null) {
		userInfoMaintainStudios.avatar = avatar;
	}
	final bool? isAnchor = jsonConvert.convert<bool>(json['is_anchor']);
	if (isAnchor != null) {
		userInfoMaintainStudios.isAnchor = isAnchor;
	}
	return userInfoMaintainStudios;
}

Map<String, dynamic> $UserInfoMaintainStudiosToJson(UserInfoMaintainStudios entity) {
	final Map<String, dynamic> data = <String, dynamic>{};
	data['id'] = entity.id;
	data['name'] = entity.name;
	data['key'] = entity.key;
	data['begin_at'] = entity.beginAt;
	data['users_count'] = entity.usersCount;
	data['switch'] = entity.xSwitch;
	data['view_users_count'] = entity.viewUsersCount;
	data['anchoring'] = entity.anchoring;
	data['cover'] = entity.cover;
	data['avatar'] = entity.avatar;
	data['is_anchor'] = entity.isAnchor;
	return data;
}

UserInfoApply $UserInfoApplyFromJson(Map<String, dynamic> json) {
	final UserInfoApply userInfoApply = UserInfoApply();
	final int? id = jsonConvert.convert<int>(json['id']);
	if (id != null) {
		userInfoApply.id = id;
	}
	final String? realname = jsonConvert.convert<String>(json['realname']);
	if (realname != null) {
		userInfoApply.realname = realname;
	}
	final String? gender = jsonConvert.convert<String>(json['gender']);
	if (gender != null) {
		userInfoApply.gender = gender;
	}
	final String? createdAt = jsonConvert.convert<String>(json['created_at']);
	if (createdAt != null) {
		userInfoApply.createdAt = createdAt;
	}
	final String? updatedAt = jsonConvert.convert<String>(json['updated_at']);
	if (updatedAt != null) {
		userInfoApply.updatedAt = updatedAt;
	}
	final String? region = jsonConvert.convert<String>(json['region']);
	if (region != null) {
		userInfoApply.region = region;
	}
	final String? mobile = jsonConvert.convert<String>(json['mobile']);
	if (mobile != null) {
		userInfoApply.mobile = mobile;
	}
	final String? introduction = jsonConvert.convert<String>(json['introduction']);
	if (introduction != null) {
		userInfoApply.introduction = introduction;
	}
	final List<dynamic>? skills = jsonConvert.convertListNotNull<dynamic>(json['skills']);
	if (skills != null) {
		userInfoApply.skills = skills;
	}
	final String? accuracyRate = jsonConvert.convert<String>(json['accuracy_rate']);
	if (accuracyRate != null) {
		userInfoApply.accuracyRate = accuracyRate;
	}
	final int? likesFromEvaluations = jsonConvert.convert<int>(json['likes_from_evaluations']);
	if (likesFromEvaluations != null) {
		userInfoApply.likesFromEvaluations = likesFromEvaluations;
	}
	final int? onsaleCount = jsonConvert.convert<int>(json['onsale_count']);
	if (onsaleCount != null) {
		userInfoApply.onsaleCount = onsaleCount;
	}
	final int? completeCount = jsonConvert.convert<int>(json['complete_count']);
	if (completeCount != null) {
		userInfoApply.completeCount = completeCount;
	}
	final int? experiencePoint = jsonConvert.convert<int>(json['experience_point']);
	if (experiencePoint != null) {
		userInfoApply.experiencePoint = experiencePoint;
	}
	final String? photo = jsonConvert.convert<String>(json['photo']);
	if (photo != null) {
		userInfoApply.photo = photo;
	}
	final String? photoSignedId = jsonConvert.convert<String>(json['photo_signed_id']);
	if (photoSignedId != null) {
		userInfoApply.photoSignedId = photoSignedId;
	}
	final List<dynamic>? certificates = jsonConvert.convertListNotNull<dynamic>(json['certificates']);
	if (certificates != null) {
		userInfoApply.certificates = certificates;
	}
	return userInfoApply;
}

Map<String, dynamic> $UserInfoApplyToJson(UserInfoApply entity) {
	final Map<String, dynamic> data = <String, dynamic>{};
	data['id'] = entity.id;
	data['realname'] = entity.realname;
	data['gender'] = entity.gender;
	data['created_at'] = entity.createdAt;
	data['updated_at'] = entity.updatedAt;
	data['region'] = entity.region;
	data['mobile'] = entity.mobile;
	data['introduction'] = entity.introduction;
	data['skills'] =  entity.skills;
	data['accuracy_rate'] = entity.accuracyRate;
	data['likes_from_evaluations'] = entity.likesFromEvaluations;
	data['onsale_count'] = entity.onsaleCount;
	data['complete_count'] = entity.completeCount;
	data['experience_point'] = entity.experiencePoint;
	data['photo'] = entity.photo;
	data['photo_signed_id'] = entity.photoSignedId;
	data['certificates'] =  entity.certificates;
	return data;
}

UserInfoIdentification $UserInfoIdentificationFromJson(Map<String, dynamic> json) {
	final UserInfoIdentification userInfoIdentification = UserInfoIdentification();
	final int? id = jsonConvert.convert<int>(json['id']);
	if (id != null) {
		userInfoIdentification.id = id;
	}
	final String? name = jsonConvert.convert<String>(json['name']);
	if (name != null) {
		userInfoIdentification.name = name;
	}
	final String? accountNo = jsonConvert.convert<String>(json['account_no']);
	if (accountNo != null) {
		userInfoIdentification.accountNo = accountNo;
	}
	final String? idCard = jsonConvert.convert<String>(json['id_card']);
	if (idCard != null) {
		userInfoIdentification.idCard = idCard;
	}
	final String? mobile = jsonConvert.convert<String>(json['mobile']);
	if (mobile != null) {
		userInfoIdentification.mobile = mobile;
	}
	return userInfoIdentification;
}

Map<String, dynamic> $UserInfoIdentificationToJson(UserInfoIdentification entity) {
	final Map<String, dynamic> data = <String, dynamic>{};
	data['id'] = entity.id;
	data['name'] = entity.name;
	data['account_no'] = entity.accountNo;
	data['id_card'] = entity.idCard;
	data['mobile'] = entity.mobile;
	return data;
}